package com.orm.mybatis.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ReturnData {
    private Integer rv;
    private String  msg;
    private Object data;

    public static ReturnData success(Object data){
        return new ReturnData(200,"success",data);
    }


}

